package glossos.tree.snapshot;

import glossos.tree.Node;

public interface InsertionSnapshot {
    void insert(Node node);

    Node atLevel(int level);

    void appendWordUnderLevel(String word, int level);

    boolean canAppendUnderLevel(int level);

    void commit();

    Node mostFrequentAtLevel(int level);

    void reset();

    int height();

    Node root();
}
